package com.project.bookstore.user.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Accessors(chain = true)
@ApiModel("支付页地址数据")
public class AddressForPayVO implements Serializable {

    @ApiModelProperty("地址ID")
    private Long id;

    @ApiModelProperty("省")
    private String province;

    @ApiModelProperty("市")
    private String city;

    @ApiModelProperty("区")
    private String area;

    @ApiModelProperty("详细地址")
    private String detailAdd;

    @ApiModelProperty("收货人")
    private String receiver;

    @ApiModelProperty("电话")
    private String phone;

    @ApiModelProperty("1默认地址，0非默认地址")
    private Integer isDefault;
}
